﻿using Company.Database.Base.Entities;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Company.Database.SqlServer
{
    public class SqlServerDbContext : DbContext
    {
        public DbSet<UserEntity> Users { get; set; }
        public DbSet<HospitalEntity> Hospitals { get; set; }
        public DbSet<StationEntity> Stations { get; set; }
        public DbSet<DeviceEntity> Devices { get; set; }
        public DbSet<SourceEntity> Sources { get; set; }
        public DbSet<HL7MSH> HL7MSH { get; set; }
        public DbSet<HL7OBR> HL7OBR { get; set; }
        public DbSet<HL7OBX> HL7OBX { get; set; }
        public DbSet<HL7PID> HL7PID { get; set; }
        public SqlServerDbContext(DbContextOptions<SqlServerDbContext> options) : base(options)
        {

        }

    }
}
